﻿#include "GUISEASubSysDoubleCurvedPlateDialog.h"
#include "ui_GUISEASubSysPlateBaseDialog.h"

#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"

#include "FITK_Component/FITKAcousticsModel/FITKAcousticsDiscModel.h"
#include "FITK_Component/FITKAcousticsModel/FITKAcousticsSEAModel.h"
#include "FITK_Component/FITKAcousticsModel/FITKAcousticsDiscNodeList.h"
#include "FITK_Component/FITKAcousticsModel/FITKSEASubSysShellCurved.h"

#include "FITK_Component/FITKAcousticsPhysics/FITKAcousticsPhysics.h"
#include "FITK_Component/FITKAcousticsPhysics/FITKAcousticsAbsPhysicsProp.h"

#include <QMessageBox>

namespace GUI {

    GUISEASubSysDoubleCurvedPlateDialog::GUISEASubSysDoubleCurvedPlateDialog(Acoustics::FITKSEASubSysDoublyCurvedShell* obj, Core::FITKActionOperator* oper, QWidget* parent /*= nullptr*/) : GUISEASubSysPlateBaseDialog(obj, oper, parent)
    {
        this->setWindowTitle(tr("Doubly Curved Shell"));
        //初始化
        initComponent();
        initData();
    }

    GUISEASubSysDoubleCurvedPlateDialog::~GUISEASubSysDoubleCurvedPlateDialog()
    {
        //释放数据
    }

    void GUISEASubSysDoubleCurvedPlateDialog::initData()
    {
        this->initShellData();
    }

    QString GUISEASubSysDoubleCurvedPlateDialog::getCreateDataObjName()
    {
        return "Doubly Curved Shell";
    }

    void GUISEASubSysDoubleCurvedPlateDialog::initComponent()
    {
        //初始化组件
        _ui->label_image->setPixmap(QPixmap(":/icons/DoubleCurvedPlate.png"));
        _ui->label_GeoImage->setPixmap(QPixmap(":/icons/DoubleCurvedPlateModel.png"));
    }
}
